package com.sak.vis.service;

import java.util.List;

import com.sak.vis.domain.Result;

/**
 * Client Interface that invokes external services.
 * 
 * @author Saket Vishal
 */
public interface ExternalClientService {
	
	/**
	 * Recommended maximum results to be returned by the service.
	 */
	static final int MAX_RESULTS = 5;

	/**
	 * 	Queries asklaila.com to retrieve phone number.
	 * 	
	 * @param queryText Search text provided by user.
	 * @param location Optional, location of the user.
	 * @return {@link Result}s from the query.
	 */
	List<Result> queryClient(String queryText, String location);

}
